package com.smart.translator.data;

/**
 * 应用配置数据模型
 */
public class AppConfig {
    private String ttsProvider;
    private String asrProvider;
    private String serverUrl;
    private String appVersion;
    private String cm3Version;
    private String flashVersion;

    public AppConfig() {}

    public AppConfig(String ttsProvider, String asrProvider, String serverUrl, 
                    String appVersion, String cm3Version, String flashVersion) {
        this.ttsProvider = ttsProvider;
        this.asrProvider = asrProvider;
        this.serverUrl = serverUrl;
        this.appVersion = appVersion;
        this.cm3Version = cm3Version;
        this.flashVersion = flashVersion;
    }

    // Getters and Setters
    public String getTtsProvider() {
        return ttsProvider;
    }

    public void setTtsProvider(String ttsProvider) {
        this.ttsProvider = ttsProvider;
    }

    public String getAsrProvider() {
        return asrProvider;
    }

    public void setAsrProvider(String asrProvider) {
        this.asrProvider = asrProvider;
    }

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public String getCm3Version() {
        return cm3Version;
    }

    public void setCm3Version(String cm3Version) {
        this.cm3Version = cm3Version;
    }

    public String getFlashVersion() {
        return flashVersion;
    }

    public void setFlashVersion(String flashVersion) {
        this.flashVersion = flashVersion;
    }

    @Override
    public String toString() {
        return "AppConfig{" +
                "ttsProvider='" + ttsProvider + '\'' +
                ", asrProvider='" + asrProvider + '\'' +
                ", serverUrl='" + serverUrl + '\'' +
                ", appVersion='" + appVersion + '\'' +
                ", cm3Version='" + cm3Version + '\'' +
                ", flashVersion='" + flashVersion + '\'' +
                '}';
    }
} 